<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">	
		 // 作业1：手动实现数组的concat方法,concat(arr1,arr2).
		function concat(){
		var aa=concat(arr1,arr2,arr5,arr6);
		var newArr=[];
		for(var i=0;i<arguments.length;i++){	
			// console.log(argument[i]);
		for(var j=0;j<arguments[i].length;j++){
			newArr.push(arrguments[i][j]);
			}	
		  }		
		return newArr;	
		console.log(concat(arr1,arr2));
	  }	
		
		
		
	
	</script>	
	</head>
	<body>
	</body>
</html>
